package com.zhuandaonet.common.utils;

import com.zhuandaonet.common.constant.Code;
import com.zhuandaonet.common.domain.CommonResp;
import com.zhuandaonet.common.domain.resp.Resp;

public class RespUtils {
    public static CommonResp succeed(Resp resp){
        return CommonResp.builder().errorCode(Code.Error.SUCCEED).code(Code.Status.OK).message("成功！").result(resp).build();
    }
}
